<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
</head>
<body>
    <h1>注册</h1>
    <form action="{% url 'register' %}" method="post">
        {% csrf_token %}
        <input type="text" name="username" placeholder="用户名" id="">
        <input type="password" name="password" placeholder="密码" id="">
        <input type="password" name="check_password" placeholder="确认密码" id="">
        <input type="submit" value="注册">
        <a href="{% url 'login' %}">已有帐号? 直接登陆</a>
    </form>
</body>
</html>